/**
 * @(#)com.framework.web.bus.domain.UserAddress
 *
 * Copyright (c) 2014-2018 ﻿上海XX科技有限公司
 *
 * DESC:
 *
 */
package com.framework.web.bus.domain;

import com.framework.core.domain.IdEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * @author zqtao
 * @version 1.0  2016-9-11
 */
@Entity
@Table(name = "t_bus_user_address")
public class UserAddress extends IdEntity implements java.io.Serializable {

    private String userId;
    private String provinceId;
    private String cityId;
    private String areaId;
    private String completeAddress;
    private String postCode;
    private String consigneeTel;
    private String consigneeName;
    private Integer defaultsAddress;
    private Date updateTime;
    private Date createTime;
    private Integer status;


    @Basic
    @Column(name = "USER_ID")
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Basic
    @Column(name = "PROVINCE_ID")
    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    @Basic
    @Column(name = "CITY_ID")
    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    @Basic
    @Column(name = "AREA_ID")
    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    @Basic
    @Column(name = "COMPLETE_ADDRESS")
    public String getCompleteAddress() {
        return completeAddress;
    }

    public void setCompleteAddress(String completeAddress) {
        this.completeAddress = completeAddress;
    }

    @Basic
    @Column(name = "POST_CODE")
    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    @Basic
    @Column(name = "CONSIGNEE_TEL")
    public String getConsigneeTel() {
        return consigneeTel;
    }

    public void setConsigneeTel(String consigneeTel) {
        this.consigneeTel = consigneeTel;
    }

    @Basic
    @Column(name = "CONSIGNEE_NAME")
    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    @Basic
    @Column(name = "DEFAULTS_ADDRESS")
    public Integer getDefaultsAddress() {
        return defaultsAddress;
    }

    public void setDefaultsAddress(Integer defaultsAddress) {
        this.defaultsAddress = defaultsAddress;
    }

    @Basic
    @Column(name = "UPDATE_TIME")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "STATUS")
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


}
